home *** CD-ROM | disk | FTP | other *** search
- name Charmilles EDM 4 Axis
-
- % 00
- O >4
- N >4
- G 2
- X ->3.>5
- Y ->3.>5
- U ->3.>5 IncFrom X
- V ->3.>5 IncFrom Y
- u ->3.>5 U
- v ->3.>5 V
- H >2
- M >2
- F 00 ""
- W ->3.>5
- R ->3.>5
- g 2 G
- D >2
-
- ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85 # List of g codes that are modal
-
- Sequence#s N 1 5 5 # Char, freq, incr & start
- First#? N # Y or N 'Output 1st sequence no.
- Last#? Y # Y or N 'Output last sequence no.
-
- HCode X U # X or X U 'Horizontal char.
- VCode Y V # Y or Y V 'Vertical char.
- FeedCode F # Feed rate char.
-
- Comment ( ) # Begin End comment char.
-
- Coolant 8 9 7 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
- LComp 43 49 # On & Off codes
-
- CtrIncremental? N # Y or N 'Inc or abs I & J
- ByQuadrants? N # Y or N 'Break arcs at quadrants
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- Work G # Work offset register
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- CtrCode I J K L
-
- Inch/MM 70 71 # Inch & Metric g codes
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- MaxRad 999 .0005 # Chordal breakdown value
- ArcWithSame? N # Support XY/UV arc records
- ArcWithLine? N # Support UV arc records
-
- StartCode # Start of the program
- %0
- End
-
- 1stToolChange # First tool change
- G92 G[Unitmode] X[H] Y[V] W[Val1] R[Val2]
- End
-
- Infeed # Enable cutter comp
- G1 X[H] Y[V] U[H2] V[V2] g[Side] D[Val3]
- end
-
- Outfeed # Disable cutter comp
- G40
- end
-
- ToolChange # Secondary tool changes
- End
-
- EndCode # End of the program
- M2
- End
-
- ASK [Val1] " WHAT IS THE Z PLANE OF THE X-Y CONTOUR?"
- ASK [Val2] " WHAT IS THE Z PLANE OF THE U-V CONTOUR?"
- ASK [Val3] " WHAT IS THE DIAMETER OFFSET NUMBER?"
-